package behavior.state;

/**
 * 击倒状态
 *
 * @author ykr
 * @date 2022/4/6
 */
public class DeadState implements State {

	private Boss boss;

	public DeadState(Boss boss) {
		this.boss = boss;
	}

	@Override
	public void attack(double atk, double crit) {
		System.out.println("boss" + boss.getName() + "已被击倒，无法造成伤害");
	}
}
